{% extends "SmcSiteBundle::layout.html.twig" %}
{% block middle %}
	<h1>Utilisateur</h1>
	
	<table class="record_properties">
	    <tbody>
	        <tr>
	            <th>Id</th>                <td>{{ entity.id }}</td>        </tr>
	        <tr>
	            <th>Username</th>                <td>{{ entity.username }}</td>        </tr>
	        <tr>
	            <th>Password</th>                <td>{{ entity.password }}</td>        </tr>
	    </tbody>
	</table>
	
	<ul class="record_actions">
	    <li>
	        <a href="{{ path('user') }}">
	            Back to the list
	        </a>
	    </li>
	    <li>
	        <a href="{{ path('user_edit', { 'id': entity.id }) }}">
	            Edit
	        </a>
	    </li>
	    <li>
	        <form action="{{ path('user_delete', { 'id': entity.id }) }}" method="post">
	            {{ form_widget(delete_form) }}
	            <button type="submit">Delete</button>
	        </form>
	    </li>
	</ul>
{% endblock %}